﻿CREATE TABLE [dbo].[BudgetPosting] (
    [Id]           UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [BudgetLineId] UNIQUEIDENTIFIER NULL,
    [AmountPosted] MONEY            NOT NULL,
    [DatePosted]   DATETIME         NOT NULL,
    [RefNumber]    NVARCHAR (50)    NULL,
    [PostedBy]     UNIQUEIDENTIFIER NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Reference number of the posting. Should refer to the purchase order number or payment request number etc', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BudgetPosting', @level2type = N'COLUMN', @level2name = N'RefNumber';

